package com.qian.apiserver;


import com.yaowk.utils.generator.Generator;

public class _KcGenerator {
    public static void main(String[] args) {
        Generator generator = new Generator("com.qian.apiserver.entity");
        System.out.print(generator.getBasePath());
        System.out.print(generator);
        generator.setEntityPrefix("Gm");
        generator.setModelInit("com.qian.apiserver.model",generator.getBasePath());
        generator.setServiceInit("com.qian.apiserver.service",generator.getBasePath());
        generator.setDaoInit("com.qian.apiserver.dao",generator.getBasePath());
        generator.setServiceImplInit("com.qian.apiserver.service.serviceImpl",generator.getBasePath());
        generator.setModelBaseInit("com.qian.apiserver.model",generator.getBasePath());
        generator.setServiceBaseInit("com.qian.apiserver.service",generator.getBasePath());
        try {
            generator.generator();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
